package org.martin.snsrs.actions;

import com.opensymphony.xwork2.ActionSupport;

/**
 * 用户基类，提供错误信息容器
 * 
 * @author martin
 *
 */

public class UserBase extends ActionSupport{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2798114606067945213L;

	protected String status;
	
	protected String errorReason;

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getErrorReason() {
		return errorReason;
	}

	public void setErrorReason(String errorReason) {
		this.errorReason = errorReason;
	}
	
	@Override
	public String execute() throws Exception{
		return super.execute();
	}

}
